//
//  Camera.m
//  program
//
//  Created by 芦彬 on 15/11/14.
//  Copyright © 2015年 Lubin. All rights reserved.
//

#import "Camera.h"

@implementation Camera

- (void)dealloc{
    [_avartar release];
    [_photo release];
    [_pid release];
    [_ppid release];
    [_title release];
    [_uid release];
    [super dealloc];
}

- (instancetype)initWithDictionary:(NSDictionary *)dic{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+ (Camera *)cameraWithDictionary:(NSDictionary *)dictionary{
    Camera *camera = [[Camera alloc]initWithDictionary:dictionary];
    return [camera autorelease];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

@end
